package com.jubaopen.dao;

import java.util.List;
import java.util.Map;

import com.jubaopen.bean.InviteCode;

public interface InviteCodeDAO {
	public int add(InviteCode inviteCode);

	public InviteCode getByCode(String code);

	public int getCount(Map<String, Object> map);
	
	public int getNoActiveCount(Map<String, Object> map);

	public int update(InviteCode inviteCode);

	public List<InviteCode> getPagedList(Map<String, Object> map);
}
